Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Discover] Add New Mappings for S3 Type #9430

Merged
merged 3 commits into from
Feb 28, 2025

Conversation

sejli
Copy link
Member

@sejli sejli commented Feb 20, 2025

Description

For PPL in OpenSearch / OpenSearch Spark, the typings for byte, short, int, integer, long, float, double, tinyint, smallint, and bigint need to be mapped to numeric. This PR adds the numeric mapping for tinyint, smallint, and bigint in the S3 dataset type.

Issues Resolved

Screenshot

Testing the changes

Changelog

  • fix: Add mappings for tinyint, smallint, and bigint in S3 dataset type

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

Signed-off-by: Sean Li <lnse@amazon.com>
Copy link

codecov bot commented Feb 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 61.74%. Comparing base (601d367) to head (7e5b0b1).
Report is 13 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #9430   +/-   ##
=======================================
  Coverage   61.74%   61.74%           
=======================================
  Files        3817     3817           
  Lines       91900    91900           
  Branches    14563    14563           
=======================================
+ Hits        56741    56743    +2     
+ Misses      31498    31497    -1     
+ Partials     3661     3660    -1     
Flag Coverage Δ
Linux_1 28.99% <ø> (ø)
Linux_2 56.41% <ø> (ø)
Linux_3 39.26% <ø> (+<0.01%) ⬆️
Linux_4 28.88% <ø> (ø)
Windows_1 29.00% <ø> (ø)
Windows_2 56.37% <ø> (ø)
Windows_3 39.26% <ø> (ø)
Windows_4 28.88% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

kavilla
kavilla previously approved these changes Feb 20, 2025
Signed-off-by: Sean Li <lnse@amazon.com>
@github-actions github-actions bot removed the Skip-Changelog PRs that are too trivial to warrant a changelog or release notes entry label Feb 21, 2025
@abbyhu2000 abbyhu2000 merged commit 2e0c36d into opensearch-project:main Feb 28, 2025
73 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants